projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065aa29
)
css: AFFFECTS_TEXT causes a resize, not a redraw
author
Benjamin Otte
<otte@redhat.com>
Wed, 20 Jan 2016 01:37:45 +0000
(
02:37
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 20 Jan 2016 01:37:45 +0000
(
02:37
+0100)
And we schedule the resize conditionally only when text is rendered but
don't do that check for the redraw.
gtk/gtkcsstypesprivate.h
patch
|
blob
|
history
diff --git
a/gtk/gtkcsstypesprivate.h
b/gtk/gtkcsstypesprivate.h
index 414395743eef013a7b1129a5407afe08b1e28e40..b32c05af4b816d65c33afa7cb0cfccc7f09c9f4b 100644
(file)
--- a/
gtk/gtkcsstypesprivate.h
+++ b/
gtk/gtkcsstypesprivate.h
@@
-136,7
+136,6
@@
typedef enum {
#define GTK_CSS_AFFECTS_REDRAW (GTK_CSS_AFFECTS_FOREGROUND | \
GTK_CSS_AFFECTS_BACKGROUND | \
GTK_CSS_AFFECTS_BORDER | \
- GTK_CSS_AFFECTS_TEXT | \
GTK_CSS_AFFECTS_ICON | \
GTK_CSS_AFFECTS_OUTLINE)